﻿using System;
using System.Web.UI;
using VitCode.Web.UI.WebControls;


namespace AMS.Web.MainWebForm
{
    public partial class Top : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>");
            if(Request.Cookies["Name"] != null)
            {
                string name = Server.UrlDecode(Request.Cookies["Name"].Value) + ": 您好！";
                userinfo.InnerHtml = name;
            }
        }
        protected void btnUpdatePassword_Click(object sender, ImageClickEventArgs e)
        {
            var win = new Window(Page, "密码修改")
            {
                Height = 260,
                Width = 460,
                Scrollbars = true,
                Status = true,
                Location = true
            };
            win.ShowModalDialog("../BackStageManagement/PassSelf.aspx?Type=Self", new string[] { "hdCheckInfo" });
        }
 
    }
}
